home *** CD-ROM | disk | FTP | other *** search
/ PC go! 2008 April / PCgo 2008-04 (DVD).iso / interface / contents / demoversionen_3846 / 13664 / files / Data1.cab / properties.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  2001-10-16  |  569 b   |  33 lines

  1. unit Properties;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   Grids;
  8.  
  9. type
  10.   TFormProperties = class(TForm)
  11.     StringGridProperties: TStringGrid;
  12.     procedure FormResize(Sender: TObject);
  13.   private
  14.     { Private declarations }
  15.   public
  16.     { Public declarations }
  17.   end;
  18.  
  19. var
  20.   FormProperties: TFormProperties;
  21.  
  22. implementation
  23.  
  24. {$R *.DFM}
  25.  
  26. procedure TFormProperties.FormResize(Sender: TObject);
  27. begin
  28.    {}
  29.    StringGridProperties.Height := FormProperties.ClientHeight - 5;
  30. end;
  31.  
  32. end.
  33.